package com.system.Service;

import com.system.Entity.OssContent;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface ImageService {
    String upload_show(MultipartFile file) throws IOException;

    void deleteImage_show(String url);

    String upload_program(MultipartFile file) throws IOException;

    void deleteImage_program(String url);

    String upload_schoolfounder(MultipartFile file) throws IOException;

    void deleteImage_schoolfounder(String url);

    String upload_artist(MultipartFile file) throws IOException;

    void deleteImage_artist(String url);

    String upload_artistWork(MultipartFile file) throws IOException;

    void deleteImage_artistWork(String url);

    String upload_artistHistory(MultipartFile file) throws IOException;

    void deleteImage_artistHistory(String url);

    String upload_dramaImage(MultipartFile file) throws IOException;

    String upload_dramaAudio(MultipartFile file) throws IOException;

    String upload_dramaVideo(MultipartFile file) throws IOException;

    String articleImage(MultipartFile file) throws IOException;

    String articleVideo(MultipartFile file) throws IOException;

    OssContent getCredentials();

    String post(MultipartFile file) throws IOException;

    void deletePost(String url);
}
